﻿using System;
using System.Collections.Generic;
using System.Text;

using System.Collections;
using System.Runtime.InteropServices;

using SuperMapLib;

namespace JR_RouteAlarm
{
    class RouteArea
    {
        /*定数*/
        public const string FLD_AREA_CD = Utility.AREA_CD;
        public const string FLD_KIROTEI_BGN = Utility.KIROTEI_BGN;
        public const string FLD_KIROTEI_END = Utility.KIROTEI_END;
        public const string FLD_ALARM_ROUTE = Utility.ALARM_ROUTE;
        public const string FLD_ALARM_AREA = Utility.ALARM_AREA;
        public const string FLD_KIROTEI = Utility.KIROTEI;
        
        //public RouteArea()
        //{ 
        //}

        //public RouteArea(soDataset objDS)
        //{
        //    //this.objVectorArea = objDS as soDatasetVector;
        //}

        private string areaID = String.Empty;
        public string AreaID
        {
            get
            {
                return areaID;
            }
            set
            {
                areaID = value;
            }
        }

        private int beginKirotei = 0;
        public int BeginKirotei
        {
            get
            {
                return beginKirotei;
            }
            set
            {
                beginKirotei = value;
            }
        }

        private int endKirotei = 0;
        public int EndKirotei
        {
            get
            {
                return endKirotei;
            }
            set
            {
                endKirotei = value;
            }
        }

        private soGeoPoint beginPoint = null;
        public soGeoPoint BeginPoint
        {
            get
            {
                return beginPoint;
            }
            set
            {
                beginPoint = value;
            }
        }

        private soGeoPoint endPoint = null;
        public soGeoPoint EndPoint
        {
            get
            {
                return endPoint;
            }
        }

        private string extraInfo = String.Empty;
        public string ExtraInfo
        {
            get
            {
                return extraInfo;
            }
        }

        public string[] alarmRoute = new string[7];

        public string[] alarmArea = new string[7];
    }
}
